<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
         language="java" %>
<%@ include file="/jsp/platform/include/include.jsp" %>
<html>
<head>
    <TITLE><c:out value="${_LOGONUSER_.MANAGETITILE}"/></TITLE>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <%@ include file="/jsp/platform/include/header.jsp" %>

    <script type="text/javascript">
        $(document).ready(function () {
            getData();
        });
        function getData() {

            var url = '<%=request.getContextPath()%>/manage/mainPage/getAgentData';
            $.post(
                    url,
                    {},
                    function (data) {
                        if (data.success) {
                            $("#gatheringCount").html(data.gatheringCount);
                            $("#gatheringAmt").html(data.gatheringAmt.toFixed(2));
                        } else {
                            $.messager.alert("提示信息", data.msg);
                        }
                    });
        }

    </script>
</HEAD>
<BODY>
<DIV class="all">
    <%@ include file="/jsp/platform/include/head.jsp" %>
    <%@ include file="/jsp/platform/include/menu.jsp" %>
    <DIV class="mains">
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
            <TBODY>
            <TR valign="top">
                <TD width="200"><SPAN id="ctl00_IsMenu">
								<DIV class="sub_nav">
                                    <DIV class="sub_nav_tit">代理商首页</DIV>
                                    <DIV class="sub_nav_con">
                                        <UL>

                                            <LI>
                                                <DIV class="sub_navon">
                                                    <a class="subNav" href="#">代理商首页</a>

                                                    <DIV></DIV>
                                                </DIV>
                                            </LI>
                                        </UL>
                                    </DIV>
                                </DIV> </SPAN>
                </TD>
                <TD>
                    <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
                        <TBODY>
                        <TR>
                            <TD>
                                <TABLE width="180" border="0" cellspacing="0" cellpadding="0">
                                    <TBODY>
                                    <TR>
                                        <TD width="7"><IMG width="7" height="36" alt=""
                                                           src="<%=request.getContextPath()%>/images/pages_l.jpg">
                                        </TD>
                                        <TD align="center"
                                            background="<%=request.getContextPath()%>/images/pages_bg.jpg">
                                            <SPAN class="f_tit1">代理商首页</SPAN></TD>
                                        <TD width="7"><IMG width="7" height="36" alt=""
                                                           src="<%=request.getContextPath()%>/images/pages_r.jpg">
                                        </TD>
                                    </TR>
                                    </TBODY>
                                </TABLE>
                            </TD>
                        </TR>
                        </TBODY>
                        <TR>
                            <TD>
                                <div class="pages_con">
                                    <div class="pages_con_20">
                                        <TABLE class="table"
                                               style="font-size:12px;text-align: center">
                                            <CAPTION>温馨提醒</CAPTION>
                                            <TBODY>
                                            <TR>
                                                <Td align="left">上次登陆时间：<fmt:formatDate value="${_LOGONUSER_.operatorInfoModel.lastLogintime}" pattern="yyyy-MM-dd HH:mm:ss" /></Td>
                                            </TR>
                                            </TBODY>
                                        </TABLE>
                                        <TABLE class="table"
                                               style="font-size:12px;text-align: center">
                                            <CAPTION>交易汇总</CAPTION>
                                            <THEAD style="color:#333">
                                            <TR style="text-align: center">
                                                <TH>收款笔数</TH>
                                                <TH>收款金额(元)</TH>
                                            </TR>
                                            </THEAD>
                                            <TBODY>
                                            <TR>
                                                <TD><a id="gatheringCount" href='<%=request.getContextPath()%>/manage/ordLog/agentTodayOrderList?transStatus=S'>0</a>
                                                </TD>
                                                <TD><a id="gatheringAmt" href='<%=request.getContextPath()%>/manage/ordLog/agentTodayOrderList?transStatus=S'>0</a>
                                                </TD>
                                            </TR>
                                            </TBODY>
                                        </TABLE>


                                        <DIV class="clear">&nbsp;</DIV>
                                    </DIV>

                                </div>
    </div>
    <!--当中内容块结束--></TD>
    </TR>
    </TABLE></TD>
    </TR>
    </TBODY>
    </TABLE>
</DIV>
<%@ include file="/jsp/platform/include/foot.jsp" %>
</BODY>
</HTML>
